﻿@model TT.Logic.Entities.Match

<div class="stage" data-matchid="@Model.Id">
    <a href="@Url.Action("Index", "Match", new { id = Model.Id })" class="match-link">
        <div class="player a" data-ishome="true">
            <span class="name">@Model.GetHomeTitle()</span>
            <span class="score">@Model.HomeScore</span>
        </div>
        <div class="player b" data-ishome="false">
            <span class="name">@Model.GetAwayTitle()</span>
            <span class="score">@Model.AwayScore</span>
        </div>
    </a>
</div>